package com.qezhhnjy.demo.starter.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author zhaoyangfu
 * @date 2021/5/15-12:19
 */
@ConfigurationProperties(prefix = "demo")
@Data
public class DemoProperties {

    private String sayWhat;

    private String toWho;

    private Boolean isOpen = true;
}
